.content {
    width: 50%;
    max-width: 800px;
    min-width: 700px;
    margin-right: 350px;
}

.content-block {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    max-height: 0;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    overflow-y: hidden;
}

.cb1 {
    display: block;
}

.content-block-open {
    margin-bottom: 40px;
    max-height: 2000px;
    overflow-y: visible;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.content-div {
    width: 100%;
}

.textarea {
    display: block;
    width: 100%;
    padding: 10px;
    min-width: 200px;
    max-height: 74px;
    font-size: 18px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.3);
    resize: none;
    overflow: hidden;
}

.span {
    display: block;
    margin-left: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 300;
    color: #000;
}

.span > svg {
    margin-left: 3px;
    width: 14px;
    vertical-align: text-top;
    cursor: pointer;
}

.bottom-div {
    padding-top: 40px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bottom-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    border-radius: 5px;
    font-size: 16px;
    background: #4472e9;
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.3s linear;
}

.bottom-btn:hover {
    background: #5280f5;
}

.bottom-btn:active {
    background: #3a65d3;;
}

.bottom-btn > svg {
    margin-left: 5px;
    transform: translateX(15px);
    height: 16px;
    fill: #fff;
}

.bottom-div-right {
    display: flex;
    column-gap: 10px;
    margin-left: auto;
}

.finish-btn {
    background: #7a7a7a;
    pointer-events: none;
}

.finish-active {
    pointer-events: auto;
    background: #39a43d;
    font-weight: 700;
}

.finish-active:hover {
    background: #4ab94e;
}

.finish-active:active {
    background: #308b33;
}

.skip-btn {
    display: none;
}

.content-status {
    position: absolute;
    bottom: 5px;
    right: 0;
    width: 25px;
    height: 25px;
    transform: translateX(65px);
}

.content-type {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.content-video {
    display: block;
}

.level-line {
    width: 60%;
    height: 1px;
    background: rgba(0,0,0,0.3);
}

.level-label {
    padding-top: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
    background: url("../../img/project/project.svg") no-repeat top center;
    background-size: 40px 40px;
    cursor: pointer;
}

.level-label:last-child {
    background-image: url("../../img/project/noy.svg");
    background-size: 45px 45px;
}

.type-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
}

.content-type-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    margin-top: 20px;
}

.content-type-label {
    padding: 10px;
    padding-top: 100px;
    text-align: center;
    width: calc((100% - 45px) / 2);
    border-radius: 10px;
    min-height: 200px;
    border: 1px solid #00000030;
    background: url(../../img/project/answer.svg) no-repeat center 20px;
    background-size: 75px;
    color: #9e9e9e;
    cursor: pointer;
    transition: box-shadow 0.3s linear, color 0.3s linear;
}

.content-type-label:hover {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    color: #000;
}

.type-label-active {
    color: #000;
    outline: 2px solid #4caf50;
}

.label1 {
    background-image: url(../../img/project/label1.svg);
}

.label2 {
    background-image: url(../../img/project/label2.svg);
}

.label3 {
    background-image: url(../../img/project/label3.svg);
}

.label4 {
    background-image: url(../../img/project/label4.svg);
}

.content-type-title {
    margin: 0;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
}

.content-type-descr {
    font-size: 15px;
    font-weight: 700;
}

.form-input {
    margin-bottom: 15px;
    display: block;
    width: 100%;
    padding: 10px;
    min-width: 200px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.3);

}

.search-block-result-list {
    margin-top: -15px;
    position: absolute;
    z-index: 4;
    width: 100%;
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    max-height: 160px;
    overflow-y: auto;
}

.search-block-result-item {
    padding: 10px;
    font-size: 16px;
    font-weight: 300;
    cursor: pointer;
}

.search-block-result-item:hover {
    background: #ccc;
}

.search-block-list {
    flex-wrap: wrap;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.search-block-div {
    position: absolute;
    top: -7.5px;
    right: -7.5px;
    width: 15px;
    height: 15px;
    background-size: auto;
    background: url('../../img/global/del.svg') no-repeat center center;
    cursor: pointer;
}

.search-block-item {
    position: relative;
    padding: 5px 15px;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 5px;
    font-size: 16px;
    font-weight: 400;
}

.search-block-item:not(:last-child) {
    margin-right: 15px;
}

.content-item {
    position: relative;
}

.content-item > textarea {
    margin-bottom: 25px;
}

.upload-zone {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100px;
    outline: 2px dashed #b2b2b2;
    color: #b2b2b2;
    transition: outline-color 0.3s linear;
}

.new-file {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: no-repeat center center;
    background-size: cover;
}

.file {
    position: relative;
    transition: color 0.3s linear;
}

#file-input {
    width: 0.1px;
    height: 0.1px; 
    opacity: 0; 
    position: absolute;
    z-index: -10; 
}

.file label {
    font-weight: bold;
}

.file label:hover {
    text-decoration: underline;
    cursor: pointer;
}

.new-file-window {
    position: fixed;
    padding: 20px;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
    z-index: 3;
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    background-color: #fff;
}

.new-file-window-title {
    margin: 0;
    margin-bottom: 45px;
    font-size: 20px;
    text-align: center;
}

.new-file-window-name {
    display: block;
    text-align: center;
    margin-bottom: 45px;
    font-size: 18px;
}

.new-file-window-list {
    margin-bottom: 45px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.new-file-window-item {
    width: calc((100% - 30px)/4);
    min-width: 130px;
}

.new-file-window-label {
    display: block;
    width: 100%;
}

.new-file-window-input {
    position: absolute;
    opacity: 0;
    z-index: -10;
    height: 0;
    width: 0;
}

.new-file-window-custom {
    display: block;
    width: 100%;
    padding: 8px 20px;
    font-size: 16px;
    border-radius: 5px;
    border: 2px solid #b2b2b2;
    color: #b2b2b2;
    text-align: center;
    cursor: pointer;
    transition: background 0.1s linear, color 0.1s linear, border-color 0.1s linear;
}

.new-file-window-input:checked + .new-file-window-custom {
    background: #e8f1ff;
    color: #5280f5;
    border-color: #5280f5;
}

.new-file-window-btns {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.new-file-window-btn {
    padding: 10px 30px;
    outline: none;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    background: #4472e9;
    color: #fff;
    transition: background 0.3s linear;
}

.new-file-window-btn:hover {
    background: #5280f5;;
}

.new-file-window-btn:active {
    background: #3a65d3;
}

.file-input {
    height: 0;
    position: absolute;
    opacity: 0;
    z-index: -10;
}

.file-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.file-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-label {
    position: relative;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    font-size: 18px;
    border: 2px solid;
    border-radius: 5px;
    cursor: pointer;
}

.docx {
    background: rgba(16, 58, 132, 0.12);
    color: #1f68e9ba;
    border-color: #1f68e9ba;
}

.ppt {
    background-color: rgba(132, 86, 16, .12);
    color: #d5731ee3;
    border-color: #d5731ee3;
}

.txt {
    background-color: rgba(213, 213, 213, 0.12);
    color: #929292;
    border-color: #929292;
}

.file-actions {
    background: none;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
}

.download-link {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.download-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 60px;
    bottom: 0;
}

.file-setting {
    position: absolute;
    display: none;
    right: 0;
    top: 50px;
    z-index: 2;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 4px 32px rgba(0,0,0,.1);
    background: #ffffff;
}

.file-setting-active {
    display: block;
}

.file-action-active::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    cursor: default;
}

.file-setting > button {
    padding: 10px;
    display: block;
    font-size: 16px;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.file-setting > button:hover , .btns-label:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.file-setting svg {
    width: 25px;
    height: 25px;
}

.btns-label {
    display: flex;
    align-items: center;
    padding: 3px 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.help {
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    max-width: 250px;
    transform: translateX(350px);
    font-size: 15px;
    font-weight: 300;
    text-align: justify;
    line-height: 1.5em;
    opacity: 0;
    transition: opacity 0.1s linear;
}

.other-files {
    margin-top: 20px;
}

.other-files-title {
    margin-bottom: 20px;
    padding-left: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 15px;
    font-weight: 300;
    color: #8b8b8b;
}

.line {
    position: relative;
    display: block;
    width: calc(100% - 60px);
    height: 1px;
    background: #8b8b8b;
    border-radius: 10px;
}

.other-file-input {
    height: 0;
    position: absolute;
    opacity: 0;
    z-index: -10;
}

.other-file-label {
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
    color: #5A88FF;
}

.other-file-list {
    display: flex;
    flex-wrap: wrap;
}

.other-file-item {
    position: relative;
    margin-top: 10px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 1px solid #00000030;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 400;
}

.other-file-item-div {
    width: 15px;
    height: 15px;
    background-size: auto;
    background: url('../../img/global/del.svg') no-repeat center center;
    cursor: pointer;
}

.other-btns {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding-left: 10px;
    margin-left: 10px;
    border-left: 1px solid #00000030;
}

.other-btns > button {
    padding: 3px 5px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.other-btns > button:hover, .other-btns-label:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.del-form {
    position: absolute;
}

.iframe {
    width: 100%;
    height: 400px;
    opacity:  0;
    position: absolute;
    z-index: -10;
}

.iframe-active {
    position: relative;
    opacity: 1;
    z-index: 1;
}